package se.sics.kompics.tutorial.tutorial2.unreliableBroadcast.events;

import se.sics.kompics.address.Address;
import se.sics.kompics.tutorial.basicNetworking.Flp2pMessage;
import se.sics.kompics.tutorial.tutorial2.lazyProbabilisticBcast.messages.DataMessage;

/**
 * Indication of the reception of a unreliably broadcasted message
 *
 */
public class UnDeliver extends Flp2pMessage {
	
	private static final long serialVersionUID = 3670244405295463433L;

	public UnDeliver(Address sender, Object message){
		super(sender, message);
	}
	
	public DataMessage getDataMessage() {
		return (DataMessage) super.getMessage();
	}
}
